package com.lovecanon.jzjl.repository;

import com.lovecanon.jzjl.domain.TbReceive;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;

import java.io.Serializable;
import java.util.List;

public interface ReceiveRepository extends JpaRepository<TbReceive,Long> {

    List<TbReceive> findByFileNameLikeAndIsUseNot(String filename,String use);

    TbReceive findByFileNameAndIsUseNot(String fileName,String isUse);
}
